<?php /* Smarty version Smarty-3.0.7, created on 2015-01-23 14:44:08
         compiled from "E:/L-Project/other/0002/application/1/ms/view\oui/news/highlights/list.html" */ ?>
<?php /*%%SmartyHeaderCode:2039154c1edb8cefb30-25145941%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '1e8432b2aa893472b233709c70e08776329aad28' => 
    array (
      0 => 'E:/L-Project/other/0002/application/1/ms/view\\oui/news/highlights/list.html',
      1 => 1421983702,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2039154c1edb8cefb30-25145941',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_truncate_utf8')) include 'E:\L-Project\other\0002\tryPHP\library\smarty\plugins\modifier.truncate_utf8.php';
?><?php $_template = new Smarty_Internal_Template("oui/public/header.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<?php $_template = new Smarty_Internal_Template("oui/public/navibar.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<?php $_template = new Smarty_Internal_Template("oui/public/sidebar.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<?php $_template = new Smarty_Internal_Template("oui/public/breadcrumb-2.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
<div class="btn-toolbar"  style="margin-bottom:2px;">
    <a class="btn btn-primary" href=<?php echo $_smarty_tpl->getVariable('data')->value['meta']['button_link1'];?>
>
        <i class="icon-plus"></i> <?php echo $_smarty_tpl->getVariable('data')->value['meta']['button_text1'];?>

    </a>
</div>
<!--优雅的分隔线-->
<div class="block">
    <a href="#page-stats" class="block-heading" data-toggle="collapse">
        <?php echo $_smarty_tpl->getVariable('data')->value['meta']['list_title'];?>

    </a>
    <div id="page-stats" class="block-body collapse in">
        <!--优雅的分隔线-->
        <table class="table table-striped">
        <thead>
            <tr>
            <th width="17">序</th>
            <th>标题</th>
            <th width="90">操作选项</th>
            </tr>
        </thead>
        <tbody>
            <?php  $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('data')->value['base']['Rows']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']["list1"]['index']=-1;
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']["list1"]['index']++;
?>
            <tr>
            <td><?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['list1']['index']+1;?>
</td>
            <td><?php echo smarty_modifier_truncate_utf8($_smarty_tpl->tpl_vars['row']->value['title'],45,"..");?>
</td>
            <td>
                <?php $_smarty_tpl->tpl_vars['list1_id'] = new Smarty_variable($_smarty_tpl->tpl_vars['row']->value['id'], null, null);?>
                <?php $_smarty_tpl->tpl_vars['list1_orderNumber'] = new Smarty_variable($_smarty_tpl->tpl_vars['row']->value['orderNumber'], null, null);?>
                <a title="上移" target="_self" href=<?php echo $_smarty_tpl->smarty->registered_objects['Route'][0]->MakeHyperLink(":news_highlights::moveup","id:".($_smarty_tpl->getVariable('list1_id')->value)."|orderNumber:".($_smarty_tpl->getVariable('list1_orderNumber')->value));?>
>
                    <i class="icon-circle-arrow-up"></i>
                </a>&nbsp;
                <a title="下移" target="_self" href=<?php echo $_smarty_tpl->smarty->registered_objects['Route'][0]->MakeHyperLink(":news_highlights::movedown","id:".($_smarty_tpl->getVariable('list1_id')->value)."|orderNumber:".($_smarty_tpl->getVariable('list1_orderNumber')->value));?>
>
                    <i class="icon-circle-arrow-down"></i>
                </a>&nbsp;
                <a title="修改" href=<?php echo $_smarty_tpl->smarty->registered_objects['Route'][0]->MakeHyperLink(":news_highlights::edit","id:".($_smarty_tpl->getVariable('list1_id')->value));?>
>
                    <i class="icon-edit"></i>
                </a>&nbsp;
                <a title="删除" data-toggle="modal" href="#myModal" >
                    <i class="icon-trash" data-toggle="modal" x-delete="true" href=<?php echo $_smarty_tpl->smarty->registered_objects['Route'][0]->MakeHyperLink(":news_highlights::delete","id:".($_smarty_tpl->getVariable('list1_id')->value));?>
></i>
                </a>
            </td>
            </tr>
            <?php }} ?>
        </tbody>
        </table>
        <!--优雅的分隔线-->
        <div class="pagination">
            <input id="error" type="hidden" value=""/>
            <input id="protocol" type="hidden" value=tryPHP_<?php echo @TRYPHP_ROUTE_PROTOCOL;?>
>
            <input id="protocol-data" type="hidden" value=<?php echo $_smarty_tpl->smarty->registered_objects['Route'][0]->MakeHyperlink('__SELF__');?>
>
            <input id="rowCount" type="hidden" value=<?php echo $_smarty_tpl->getVariable('data')->value['base']['Meta']['RowCount'];?>
>
            <input id="pageSize" type="hidden" value=<?php echo $_smarty_tpl->getVariable('data')->value['base']['Meta']['PageSize'];?>
>
            <input id="pageCount" type="hidden" value=<?php echo $_smarty_tpl->getVariable('data')->value['base']['Meta']['PageCount'];?>
>
            <input id="pagination" type="hidden" value=<?php echo $_smarty_tpl->getVariable('data')->value['base']['Meta']['Pagination'];?>
>
            <input id="parameters" type="hidden" value=<?php echo Route::ArgumentsToString($_smarty_tpl->getVariable('data')->value['urlArguments']);?>
>
            <ul>
                <li><a id="previousLink">上一页</a></li>
                <li>
                    <span id="cycleLink">～</span>
                </li>
                <li><a id="nextLink">下一页</a></li>
            </ul>
        </div>
        <!--优雅的分隔线-->
    </div>
</div>
<br/><br/>
<!--优雅的分隔线-->
<script type="text/javascript" src=<?php echo @APP_PATH;?>
/view/oui/scripts/library/trigger.list-delete.js></script>
<!--优雅的分隔线-->
<script type="text/javascript" src=<?php echo @BUILD_PATH;?>
/public/JEAR/jquery/plugins/jquery.pager.js></script>
<script type="text/javascript" src=<?php echo @APP_PATH;?>
/view/oui/scripts/library/pager.js></script>
<?php $_template = new Smarty_Internal_Template("oui/public/footer.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>